package com.jfinal.ext.ueditor.storage;

import java.io.File;
import java.io.InputStream;

/**
 * @author Timor
 * @version 1.0
 * @date 2023/03/15 18:16:01
 */
public interface IStorageManager {

    StorageResult saveFile(File tempFile, String relativePath);

    StorageResult saveBinaryFile(byte[] data, String relativePath);

    StorageResult saveFileByInputStream(InputStream input, long inputSize, String relativePath);

}
